Rotating a movieclip slowly (so it looks like it was animated) [on hold]

Posted by user2537021 on Stack Overflow See other posts from Stack Overflow or by user2537021
Published on 2013-06-30T18:36:55Z Indexed on 2013/06/30 22:21 UTC
Read the original article Hit count: 92

Filed under:

Im trying to rotate an object X degrees, nut i want that when the rotation happends it isent all suden, i want that you can see the object spining all the way to the X degree. (im try ing to me more clear) (I'm pretty new at this so please be patient with me)

            switch (enemywalk)
            {
        case 1:
            colx = enemy.y;
            enemy.y -= 115;
            if ( enemy.hitTestObject (pared1) || enemy.hitTestObject (pared2) )
            {
             enemy.y = colx;
            }
            enemy.rotation = enemyrotate; //random generated number
            break;
            }

© Stack Overflow or respective owner

Related posts about rotation